package com.chinasofti.manager.service;

import com.chinasofti.model.Dept;
import com.chinasofti.model.Emp;

import java.util.List;

/**
 * Creator: <br>
 * Date: <br>
 * Description: <br>
 */
public interface AdminEmpService {

    boolean addEmp(String name, String password,
               String gender, Integer age,
               String phone, String deptName,
               Double salary, String address);

    List<Emp> queryEmpList();

    boolean updateEmp(String name, String password,
                      String gender, Integer age,
                      String phone, Double salary,
                      String address, Long id);

    void deleteEmp(Long id);

    List<Dept> queryDeptList();

}
